home *** CD-ROM | disk | FTP | other *** search
/ The Essential Home & Business Collection / The Essential Home & Business Collection.iso / 27 / 3 / 1 / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-05-24  |  683b  |  34 lines

  1. @echo off
  2. set srcdrv=A
  3. set tgtdrv=C
  4. set tgtdir=\HYPERPAD
  5. if "%3" == "" goto x3
  6. set srcdrv=%1
  7. set tgtsrv=%2
  8. set tgtdir=%3
  9. goto x4
  10. :x3
  11. if "%2" == "" goto x2
  12. set srcdrv=%1
  13. set tgtsrv=%2
  14. goto x4
  15. :x2
  16. if "%1" == "" goto x4
  17. set tgtdrv=%1
  18. :x4
  19. echo ......... About to install HyperPAD from %srcdrv%: to %tgtdrv%:%tgtdir%
  20. echo .........
  21. echo ......... If this is not correct, press CTRL-BREAK now and use:
  22. echo .........
  23. echo .........     INSTALL [source drive] [target drive] [target dir]
  24. echo .........
  25. echo .........        Example: INSTALL B D \APPS\HYPERPAD
  26. echo .........
  27. pause
  28. %tgtdrv%:
  29. md hyperpad >nul
  30. cd hyperpad
  31. copy %srcdrv%:hpinst2.bat
  32. hpinst2
  33.  
  34.